package cn.net.wanji.service;

import cn.net.wanji.entity.JsonRoot;
import cn.net.wanji.entity.SiteInfo;
import cn.net.wanji.entity.deviceInfo.DeviceInfo;
import cn.net.wanji.entity.deviceStatus.DeviceStatus;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface DataReceiveService {

    void dataReceive(JsonRoot jsonRoot);

    void saveFile(MultipartFile[] files, Integer[] fileTypes, String recordId,String unlawfulMold,String detectTime);

    void deviceInfoData(DeviceInfo deviceInfo);

    void deviceStatusData(DeviceStatus deviceStatus);
    List<SiteInfo> listAllSiteInfos(SiteInfo siteInfo);
}
